package com.ckx.utils;

import java.time.LocalDateTime;
import java.util.UUID;

public class PathUtils {

    public static String getYearMonthDay(){
        LocalDateTime ldt = LocalDateTime.now();
        int year = ldt.getYear();
        int monthValue = ldt.getMonthValue();
        int dayOfMonth = ldt.getDayOfMonth();
        String uuid = UUID.randomUUID().toString();
        return year + "/" + monthValue + "/" + dayOfMonth + "/" + uuid;
    }

}
